package com.infocollect.project.grant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.infocollect.framework.aspectj.lang.annotation.Excel;
import com.infocollect.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 审核记录对象 question_audit_process
 * 
 * @author infocollect
 * @date 2022-08-27
 */
public class QuestionAuditProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 表名 */
    @Excel(name = "表名")
    private String tablename;

    /** 记录号 */
    @Excel(name = "记录号")
    private Long fid;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditbyname;

    /** 审核人编号 */
    @Excel(name = "审核人编号")
    private String auditby;

    /** 审核内容 */
    @Excel(name = "审核内容")
    private String auditremark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createbyname;
    /** 创建人 */
    @Excel(name = "创建人编号")
    private String createby;
    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditflag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTablename(String tablename) 
    {
        this.tablename = tablename;
    }

    public String getTablename() 
    {
        return tablename;
    }
    public void setFid(Long fid) 
    {
        this.fid = fid;
    }

    public Long getFid() 
    {
        return fid;
    }
    public void setAuditbyname(String auditbyname) 
    {
        this.auditbyname = auditbyname;
    }

    public String getAuditbyname() 
    {
        return auditbyname;
    }
    public void setAuditby(String auditby) 
    {
        this.auditby = auditby;
    }

    public String getAuditby() 
    {
        return auditby;
    }
    public void setAuditremark(String auditremark) 
    {
        this.auditremark = auditremark;
    }

    public String getAuditremark() 
    {
        return auditremark;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setCreatebyname(String createbyname) 
    {
        this.createbyname = createbyname;
    }

    public String getCreatebyname() 
    {
        return createbyname;
    }
    public void setAuditflag(String auditflag) 
    {
        this.auditflag = auditflag;
    }

    public String getAuditflag() 
    {
        return auditflag;
    }

    public String getCreateby() {
        return createby;
    }

    public void setCreateby(String createby) {
        this.createby = createby;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tablename", getTablename())
            .append("fid", getFid())
            .append("auditbyname", getAuditbyname())
            .append("auditby", getAuditby())
            .append("auditremark", getAuditremark())
            .append("createby", getCreateby())
            .append("createdate", getCreatedate())
            .append("createbyname", getCreatebyname())
            .append("auditflag", getAuditflag())
            .toString();
    }
}
